package com.myproject.proxy.jdk;

public class RealSubject implements Subject {
    @Override
    public void sayHello() {
        //System.out.println("real subject is "+this);
        System.out.println("say hello");
    }

    @Override
    public void sayYes() {
        System.out.println("say yes");
        sayHello();

    }

}
